<template>
  <div id="app">
    <div class="head">
      <div class="company">{{ salaryinfo.company }}</div>
      <div class="salary">{{ salaryinfo.salary }}</div>
    </div>
    <div class="middle">
      <div class="job">{{ salaryinfo.position }}</div>
      <div class="middle_right">
        <div class="city tag">{{ salaryinfo.city }}</div>
        <div class="confidence tag">可信度 {{ salaryinfo.score }}</div>
      </div>
    </div>
    <div class="tip">{{ salaryinfo.remark }}</div>
    <div class="bottom">
      <div class="bottom_left">
        {{ salaryinfo.number }}·{{ salaryinfo.time }}
      </div>
      <div class="bottom_right">查看详情<i class="el-icon-arrow-right" /></div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
  props: {
    salaryinfo: Object,
    msg: String,
  },
};
</script>
<style scoped>
#app {
  width: 90%;
  background: white;
  margin: 15px 5%;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 10px;
}
.head,
.middle_right,
.middle,
.bottom {
  display: flex;
  justify-content: space-between;
}
.head {
  font-size: 18px;
  font-weight: 800;
}
.salary {
  color: #3693ef;
}
.tag {
  font-size: 13px;
  padding: 2px 5px;
  border-radius: 5px;
  color: #3693ef;
  margin: 0 3px;
  background: rgba(54, 146, 239, 0.1);
}
.middle {
  margin-top: 6px;
}
.tip {
  font-size: 13px;
  color: #878787;
  background: rgba(135, 135, 135, 0.05);
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 6px;
}
.bottom {
  font-size: 14px;
  color: #878787;
  margin-top: 6px;
}
</style>
